<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>统计一年内所有散装油销售记录</title>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all">
    <script th:src="@{/layui1/layui.js}"></script>
    <script th:src="@{/js/echarts.min.js}"></script>
    <script th:src="@{/statThreshold/js/statThreshold.js}"></script>
    <script th:src="@{/js/jquery-1.8.3.min.js}"></script>
</head>
<body>


<div class="layui-container" style="margin: 10px">
    <div class="layui-row">
        <div class="layui-col-md8 layui-col-md-offset2">

            <form class="layui-form layui-form-pane" action="">
                <div class="layui-form-item" pane>
                    <label class="layui-form-label">请选择年份</label>
                    <div class="layui-input-block">
                        <select  name="year" lay-verify="required" lay-filter="filter">
                            <option th:each="year:${buyYear}" th:value="${year.cardType}"
                                    th:text="${year.cardType}"></option>
                        </select>
                    </div>
                </div>
            </form>

            <!--为ECharts准备一个具备大小（宽高）的Dom -->
            <div id="main" style="width: 800px;height:500px;margin: 10px"></div>
        </div>
    </div>
</div>

</body>
</html>